package com.sh.caryr.erp.entity.others;

import com.sh.caryr.erp.entity.enums.SkuRecordHandleType;
import com.sh.caryr.erp.entity.stock.Sku;
import lombok.Data;

@Data
public class StockOperation implements Cloneable{

    Sku sku;

    SkuRecordHandleType handleType;

    private Long orderId;

    Float lockedAmountDelta = 0f;

    Float usableAmountDelta = 0f;

    public StockOperation clone() throws CloneNotSupportedException {
        return (StockOperation) super.clone();
    }

}
